package com.corx.network.config;

import com.corx.network.core.manager.ReceivedMessageListenerJarManager;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author gx
 * @version 1.0.0
 */
@Configuration
public class JarManagerAutoConfiguration {

    @Bean
    @ConditionalOnMissingBean
    public ReceivedMessageListenerJarManager jarManager() {
        ReceivedMessageListenerJarManager manager = new ReceivedMessageListenerJarManager();
        return manager;
    }

}
